<?php
/**
 * Created by: zhaoyi (834574377@qq.com)
 * Time: 2023/1/4 10:29
 * Blog: https://www.yuque.com/huangzhenlian
 */

declare(strict_types=1);

namespace App\Application\Admin\Controller\RequestParam;

use App\Annotation\RequestParam;
use App\Controller\RequestParam\BaseRequestParam;

#[RequestParam]
class RoomSubmitRequestParam extends BaseRequestParam
{
    protected array $rules = [
        'name' => 'required',
        'image_url' => 'required',
        'package_id' => 'required',
        'label' => 'required',
        'door_id' => 'required',
        'door_type' => 'required',
        'status' => 'required',
    ];
    protected array $message = [
        'name.required' => '请输入包厢名称',
        'image_url.required' => '请提交包厢图',
        'package_id.required' => '请选择套餐',
        'label.required' => '请选择标签',
        'door_id.required' => '请输入门禁编码',
        'door_type.required' => '请选择门禁类型',
        'status.required' => '请包厢状态',

    ];
    private int $room_id = 0;
    private int $store_id = 0;
    private string $name = '';
    private string $image_url = '';
    private array $package_id = [];
    private array $label = [];
    private string $door_id = '';
    private int $door_type = 0;
    private int $status = 0;
    /**
     * @return int
     */
    public function getStoreId(): int
    {
        return $this->store_id;
    }
    public function getRoomId(): int
    {
        return $this->room_id;
    }
    /**
     * @return string
     */
    public function getName(): string
    {
        return $this->name;
    }
    /**
     * @return string
     */
    public function getImageUrl(): string
    {
        return $this->image_url;
    }
    /**
     * @return array
     */
    public function getPackageId(): array
    {
        return $this->package_id;
    }
    /**
     * @return array
     */
    public function getLabel(): array
    {
        return $this->label;
    }
    /**
     * @return string
     */
    public function getDoorId(): string
    {
        return $this->door_id;
    }
    /**
     * @return int
     */
    public function getDoorType(): int
    {
        return $this->door_type;
    }
    /**
     * @return int
     */
    public function getStatus(): int
    {
        return $this->status;
    }
}